<html>
<body>
<script type="text/javascript" src="/salud_online/web/js/prototype.js"></script>

<title>Symfony Web CLI</title>
<style>
div, input { font-family: Arial; font-size: 12px; }
pre { background: #000; color: #fff; font-family: 'Lucida Console', 'Courier New', Courier, monospace; font-size: 11px; margin: 20px 20px 10px 20px; padding: 10px; height: 450px; overflow: scroll; }
</style>
<pre id="console">
Welcome in the web cli for symfony
by swisscenter...
</pre>
<div style="margin: 0px 20px;">
	<?php echo form_remote_tag(array('url' => 'cli/command?k=' . $sf_request->getParameter('k', ''), 'update' => 'console', 'loading' => "Element.show('loading')",'complete' => "Element.hide('loading')",'script' => true)); ?>
		<div>Type the symfony task :</div>
		<div style="position: absolute; padding: 2px 2px 2px 5px;">symfony</div>
		<input type="text" style="width: 100%; padding-left: 50px;" name="command" />
	</form>
	<div id="loading" style="display: none; margin-top: 10px;">Executing the command</div>
</div>
</body>
</html>